package com.xiaomi.demo.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xiaomi.demo.dao.UserDao;
import com.xiaomi.demo.pojo.User;
import com.xiaomi.demo.service.UserService;

@Service
public class UserServiceImpl implements UserService{
	@Autowired
	private UserDao userdao;

	@Override
	public List<User> list() {
		return userdao.list();
	}

}
